package com.ruoyi.classes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习计划用户关联对象 t_plan_user
 * 
 * @author Bandit
 * @date 2022-11-01
 */
public class TPlanUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划id */
    private Long planId;

    /** 用户id */
    private Long userId;

    /** 是否完成，1完成，0未完成 */
    @Excel(name = "是否完成，1完成，0未完成")
    private Long finished;

    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFinished(Long finished) 
    {
        this.finished = finished;
    }

    public Long getFinished() 
    {
        return finished;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("userId", getUserId())
            .append("finished", getFinished())
            .toString();
    }
}
